﻿@{
    ViewBag.Title = "对象类型";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<style>
    .lr-form-item-title {
        width: 200px;
    }

    .input_right {
        margin-left: 100px;
        width: calc(100% - 100px);
    }
</style>
<div class="lr-form-wrap" id="form">
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="lr-form-item-title">上级对象类型</div>
        <div id="UpObjectTypeID" class="input_right"></div>
    </div>
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="lr-form-item-title">对象类型名称<font face="宋体">*</font></div>
        <input id="ObjectTypeName" type="text" class="form-control input_right" isvalid="yes" checkexpession="NotNull" />
    </div>
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="lr-form-item-title">对象类型名称(英文)</div>
        <input id="ObjectTypeNameEN" type="text" class="form-control input_right" />
    </div>
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="lr-form-item-title">默认的布置图图例（库文件）</div>
        <div id="DefaultLayoutLibFileID" class="input_right"></div>
    </div>
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="lr-form-item-title">排序<font face="宋体">*</font></div>
        <input id="OrderID" type="text" class="form-control input_right" isvalid="yes" checkexpession="NotNull" onkeyup="value=value.replace(/[^\d]/g,'')" />
    </div>
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="checkbox">
            <label>
                <input id="IsSerialNumber" type="checkbox" />
                是否生成流水号
            </label>
        </div>
    </div>
    <div class="col-xs-12 lr-form-item" data-table="ec_objecttype">
        <div class="checkbox">
            <label>
                <input id="SystemPanel" type="checkbox" />
                是否属于系统柜
            </label>
        </div>
    </div>
</div>
@Html.AppendJsFile("/Areas/ZZDT_EC/Views/ec_objecttype/Form.js")
